﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class KfhbBLL:IKfhbBLL
    {
        public int AddKfhb(KfhbInfo kfhb)
        {
            return DALFactory.CreateKfhbDAL().AddKfhb(kfhb);
        }
        public int UpdateKfhb(string num, string pinzhong, decimal cl)
        {
            return DALFactory.CreateKfhbDAL().UpdateKfhb(num, pinzhong, cl);
        }
        
        public int Del(string num)
        {
            return DALFactory.CreateKfhbDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateKfhbDAL().Select(num);
        }
        public DataSet SelectByDay(string sday, string ku)
        {
            return DALFactory.CreateKfhbDAL().SelectByDay(sday, ku);
        }
        public string AUTOID(string ku)
        {
            return DALFactory.CreateKfhbDAL().AUTOID(ku);
        }
        public string pzrk(string cday, string pinzhong)
        {
            return DALFactory.CreateKfhbDAL().pzrk(cday, pinzhong);
        }
        
    }
}
